﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using shop.service;
using shop.entity;

namespace shop.web.view_admin.user
{
    public partial class Login : System.Web.UI.Page
    {
        protected string userName;
        protected string password;
        protected int remember = 0;
        private UserService userService = new UserService();
        protected void Page_Load(object sender, EventArgs e)
        {
            if (Request.Cookies["username"] != null && Request.Cookies["password"] != null)
            {
                //用户曾登录 

                userName = Request.Cookies["username"].Value.ToString();  //读取Cookie 
                password = Request.Cookies["password"].Value.ToString();//判断Cookie读取出来的用户名和密码是否能正确
                remember = 1;              
            }
        }

      
    }
}